#include<bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	double k, sum = 1;
	cin>>k>>n;
	for(int i = 1;i <= n;i++)
		sum *= 1+k;
	cout<<fixed<<setprecision(3)<<sum;
    return 0;
}

